Package edu.uky.ai.ml.nn
Class InputNeuron
java.lang.Object
edu.uky.ai.ml.nn.Neuron
edu.uky.ai.ml.nn.InputNeuron
public class InputNeuron extends Neuron
A special subclass of
Neuron whose value can be directly set.- Author:
- Stephen G. Ware
-
Field Summary
-
Constructor Summary
Constructors Constructor Description InputNeuron() -
Method Summary
-
Constructor Details
-
InputNeuron
public InputNeuron()
-
-
Method Details
-
getValue
public double getValue()Description copied from class:NeuronReturns the current value of this neuron based on the input it is receiving from its parents and its activation functions, which in this case is the sigmoid function. -
setValue
public void setValue(double value)Sets the node's value.- Parameters:
value- the value
-